<%@page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>合同选择</title>
<%@ include file="../common/common.jsp"%>
<script type="text/javascript">
var basePath=<%=request.getContextPath()+"/"%>;
$(function(){
    var height = window.document.body.offsetHeight-60;
    var width = window.document.body.offsetWidth+100;
	$('#client_info').datagrid({ 
		height:height,
		width:width,
		fitColumns:false,
		//fit:true,
		pagination:true,//分页数据
		rownumbers: true,
		loadMsg:'正在加载数据,请稍后',
		pageSize:10,
		url:basePath+'contractInfoAction!loadMainContractInfo.do',
		columns:[[  
		          {field:'clientcode',title:'合同编号',width:100},  
		          {field:'clientname',title:'合同签订时间',width:100},  
		          {field:'clientcontract',title:'合同项目名称',width:100},  
		          {field:'clientcomaddr',title:'项目负责人',width:100},  
		          {field:'clientsellname',title:'项目地址',width:100},
		          {field:'clientsellname',title:'开票信息',width:100}
	    ]]

	});
});
</script>
</head>
<body class="easyui-layout">
   <div region="center"  title="合同信息" closable="false" >
	  <table id="client_info"></table>  
  </div>
  
   <div  region="south" style="text-align: center;" border="false"  id="toolbar">
			<a href="#" class="easyui-linkbutton" plain="true" iconCls="icon-ok">确定</a>
			<a href="#" onclick="window.close();" class="easyui-linkbutton" plain="true" iconCls="icon-no" >取消</a>
	</div>
  
</body>
</html>